]> dgit.raspbian.org Git - gnome-shell.git/commit
authPrompt: Call next button "Unlock" when user switching
authorRay Strode <rstrode@redhat.com>
Mon, 22 Jul 2013 14:59:57 +0000 (10:59 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 25 Jul 2013 13:28:22 +0000 (09:28 -0400)
commit87245c7b33152c28e796e2cac6d587be0c2dfa39
tree21a43e4ca734b996bf0ca06c01408c13673c1ee1
parentdb497a2ecfccc8ad9284353826f32fc75ca78ecd
authPrompt: Call next button "Unlock" when user switching

When a ShellUserVerifier is asked to verify a user at the login
screen it will transparently first try to reauthenticate the user
against an existing session and then fall back to logging a user
into a new session.  The former is used for user switching.
It's useful to know which type of verification is happening, so
the next button can be made to say "Unlock" instead of "Sign In" when
a user is already signed in.

This commit exports a new "reauthenticating" property on the
ShellUserVerifier that the auth prompt checks when deciding which
label to use for its next button.

https://bugzilla.gnome.org/show_bug.cgi?id=704795
js/gdm/authPrompt.js
js/gdm/util.js